﻿using BCCommon.TMS.FreightEnums;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;

namespace BCDto.TMS.HorsemanFreightExtention
{
    public class HorsemanFreightExtentionBatchPutDto
    {
        /// <summary>
        /// 基础骑手运费扩展
        /// </summary>
        [Display(Name = "是否是基础骑手扩展")]
        public bool IsBase { get; set; }
        /// <summary>
        /// 跑腿阶梯运费类型
        /// </summary>
        [Display(Name = "跑腿阶梯运费类型")]
        [Required(ErrorMessage = "{0} 为必选项")]
        public HorsemanFreightExtentionType FreightExtentionType { get; set; }

        /// <summary>
        /// 骑手运费重量阶梯
        /// </summary>
        [Display(Name = "骑手运费重量阶梯")]
        public List<HorsemanFreightWeightExtentionRequestDto> HorsemanFreightWeightStages { get; set; } = new List<HorsemanFreightWeightExtentionRequestDto>();

        /// <summary>
        /// 骑手运费距离阶梯
        /// </summary>
        [Display(Name = "骑手运费距离阶梯")]
        public List<HorsemanFreightDistanceExtentionRequestDto> HorsemanFreightDistanceStages { get; set; } = new List<HorsemanFreightDistanceExtentionRequestDto>();
    }
}
